﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ly2
{
    class Circle:Shape
    {
        public double Radius { get; set; }

        public Circle() { }
        public Circle(double radius) 
        {
            Radius = radius;
        }
        public override void GetArea()
        {
            base.GetArea();
            Console.WriteLine("圆的面积为："+3.14* Radius* Radius);
        }
    }
}
